#include "ImageThread.h"

ImageThread::ImageThread(SendImgThread* sendImg, QObject *parent) : QThread(parent), sendImg(sendImg) {
    testImg = QImage("test.jpg");
}

void ImageThread::run() {
    if (sendImg)
        sendImg->ImageCapture(testImg);
}